package com.indusfo.spc.pojo;

import com.indusfo.spc.common.pojo.BasePojo;

import java.util.Date;

public class FixedDetePro  extends BasePojo {

    //固定检验项目id
    private Integer fixedDetePro;
    //单据编码
    private String receiptNumber;
    //检验项目
    private String detePro;
    //上限值
    private Float upperLimit;
    //下限值
    private Float lowerLimit;
    //中心值
    private Float middleLimit;
    //工位id
    private Integer stationId;
    //制单人
    private Integer userId;
    //制单日期
    private String createTime;
    //车间id
    private Integer  workshopId;
    //车间名称
    private String 	 workshopName;
    //产线id
    private Integer  productionLineId;
    //产线名称
    private String 	 productionLineName;
    //工位名称
    private String	 stationName;
    //制单人名称
    private String 	 userName;
    //数据状态
    private Integer dataState;
    //备注
    private String remark;

    private String dataStateName;

    public String getDataStateName() {
        Integer dataState = getDataState();
        String dataStateName ="";
        switch (dataState){
            case 1:
                dataStateName = "启用";
                break;
            case 2:
                dataStateName = "删除";
                break;
            case 3:
                dataStateName = "停用";
                break;
        }
        return dataStateName;
    }

    public void setDataStateName(String dataStateName) {
        this.dataStateName = dataStateName;
    }

    public Integer getDataState() {
        return dataState;
    }

    public void setDataState(Integer dataState) {
        this.dataState = dataState;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }


    public Integer getFixedDetePro() {
        return fixedDetePro;
    }

    public void setFixedDetePro(Integer fixedDetePro) {
        this.fixedDetePro = fixedDetePro;
    }


    public String getReceiptNumber() {
        return receiptNumber;
    }

    public void setReceiptNumber(String receiptNumber) {
        this.receiptNumber = receiptNumber == null ? null : receiptNumber.trim();
    }

    public String getDetePro() {
        return detePro;
    }

    public void setDetePro(String detePro) {
        this.detePro = detePro == null ? null : detePro.trim();
    }

    public Float getUpperLimit() {
        return upperLimit;
    }

    public void setUpperLimit(Float upperLimit) {
        this.upperLimit = upperLimit;
    }

    public Float getLowerLimit() {
        return lowerLimit;
    }

    public void setLowerLimit(Float lowerLimit) {
        this.lowerLimit = lowerLimit;
    }

    public Float getMiddleLimit() {
        return middleLimit;
    }

    public void setMiddleLimit(Float middleLimit) {
        this.middleLimit = middleLimit;
    }

    public Integer getStationId() {
        return stationId;
    }

    public void setStationId(Integer stationId) {
        this.stationId = stationId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Integer getWorkshopId() {
        return workshopId;
    }

    public void setWorkshopId(Integer workshopId) {
        this.workshopId = workshopId;
    }

    public String getWorkshopName() {
        return workshopName;
    }

    public void setWorkshopName(String workshopName) {
        this.workshopName = workshopName;
    }

    public Integer getProductionLineId() {
        return productionLineId;
    }

    public void setProductionLineId(Integer productionLineId) {
        this.productionLineId = productionLineId;
    }

    public String getProductionLineName() {
        return productionLineName;
    }

    public void setProductionLineName(String productionLineName) {
        this.productionLineName = productionLineName;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}